.class public Lcom/example/m6wmr/MyRunActivity;
.super Landroid/app/Activity;
.source "MyRunActivity.java"


# instance fields
.field private allcost:Ljava/lang/String;

.field private content:Ljava/lang/String;

.field private id:Ljava/lang/String;

.field private kg:Ljava/lang/String;

.field private kgp:Ljava/lang/String;

.field private km:Ljava/lang/String;

.field private kmp:Ljava/lang/String;

.field m:Lmyapp/MyApp;

.field private scost:Ljava/lang/String;

.field private status:Ljava/lang/String;

.field private time:Ljava/lang/String;

.field private tv_allcost:Landroid/widget/TextView;

.field private tv_content:Landroid/widget/TextView;

.field private tv_id:Landroid/widget/TextView;

.field private tv_kg:Landroid/widget/TextView;

.field private tv_kgp:Landroid/widget/TextView;

.field private tv_km:Landroid/widget/TextView;

.field private tv_kmp:Landroid/widget/TextView;

.field private tv_scost:Landroid/widget/TextView;

.field private tv_status:Landroid/widget/TextView;

.field private tv_time:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 16
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 19
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->m:Lmyapp/MyApp;

    .line 16
    return-void
.end method

.method private init()V
    .locals 1

    .prologue
    .line 67
    const v0, 0x7f0c027b

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_time:Landroid/widget/TextView;

    .line 68
    const v0, 0x7f0c0295

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_status:Landroid/widget/TextView;

    .line 69
    const v0, 0x7f0c0307

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_content:Landroid/widget/TextView;

    .line 70
    const v0, 0x7f0c031f

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_id:Landroid/widget/TextView;

    .line 71
    const v0, 0x7f0c0320

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kg:Landroid/widget/TextView;

    .line 72
    const v0, 0x7f0c0321

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_km:Landroid/widget/TextView;

    .line 73
    const v0, 0x7f0c0322

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kgp:Landroid/widget/TextView;

    .line 74
    const v0, 0x7f0c0323

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kmp:Landroid/widget/TextView;

    .line 75
    const v0, 0x7f0c0324

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_scost:Landroid/widget/TextView;

    .line 76
    const v0, 0x7f0c0325

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/MyRunActivity;->tv_allcost:Landroid/widget/TextView;

    .line 78
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 23
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 24
    const v3, 0x7f0300ac

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/MyRunActivity;->setContentView(I)V

    .line 25
    invoke-direct {p0}, Lcom/example/m6wmr/MyRunActivity;->init()V

    .line 26
    invoke-virtual {p0}, Lcom/example/m6wmr/MyRunActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    .line 27
    .local v1, "intent":Landroid/content/Intent;
    const-string v3, "time"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->time:Ljava/lang/String;

    .line 28
    const-string v3, "status"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->status:Ljava/lang/String;

    .line 29
    const-string v3, "content"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->content:Ljava/lang/String;

    .line 30
    const-string v3, "id"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->id:Ljava/lang/String;

    .line 31
    const-string v3, "ptkg"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->kg:Ljava/lang/String;

    .line 32
    const-string v3, "ptkm"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->km:Ljava/lang/String;

    .line 33
    const-string v3, "allkgcost"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->kgp:Ljava/lang/String;

    .line 34
    const-string v3, "allkmcost"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->kmp:Ljava/lang/String;

    .line 35
    const-string v3, "farecost"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->scost:Ljava/lang/String;

    .line 36
    const-string v3, "allcost"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->allcost:Ljava/lang/String;

    .line 37
    invoke-virtual {p0}, Lcom/example/m6wmr/MyRunActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    check-cast v3, Lmyapp/MyApp;

    iput-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->m:Lmyapp/MyApp;

    .line 38
    const/high16 v3, 0x7f0c0000

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    .line 39
    .local v2, "top":Landroid/widget/LinearLayout;
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v3}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v3

    const-string v4, "1"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 40
    const v3, 0x7f070026

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 43
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_time:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/example/m6wmr/MyRunActivity;->time:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 44
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_status:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/example/m6wmr/MyRunActivity;->status:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 45
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_content:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/example/m6wmr/MyRunActivity;->content:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 46
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_id:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/example/m6wmr/MyRunActivity;->id:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 47
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kg:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->kg:Ljava/lang/String;

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "\u516c\u65a4"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 48
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_km:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->km:Ljava/lang/String;

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "km"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 49
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kgp:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\uffe5"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->kgp:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 50
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_kmp:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\uffe5"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->kmp:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 51
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_scost:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\uffe5"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->scost:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 52
    iget-object v3, p0, Lcom/example/m6wmr/MyRunActivity;->tv_allcost:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\uffe5"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/example/m6wmr/MyRunActivity;->allcost:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 55
    const v3, 0x7f0c0001

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/MyRunActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 56
    .local v0, "closebtn":Landroid/widget/ImageView;
    new-instance v3, Lcom/example/m6wmr/MyRunActivity$1;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/MyRunActivity$1;-><init>(Lcom/example/m6wmr/MyRunActivity;)V

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 62
    return-void
.end method
